package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社保文件上传记录对象 tb_cpad_file
 * 
 * @author ruoyi
 * @date 2024-07-17
 */
public class TbCpadFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 公司id */
    @Excel(name = "公司id")
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String fileCompanyName;

    /** 月份 */
    @Excel(name = "月份")
    private String fileMonth;

    /** 成功数量 */
    @Excel(name = "成功数量")
    private Long rightNum;

    /** 失败数量 */
    @Excel(name = "失败数量")
    private Long errorNum;

    /** 是否删除：0否1是 */
    private Integer delFlag;

    /** 状态:0未同步1已同步 */
    @Excel(name = "状态:0未同步1已同步")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setFileCompanyName(String fileCompanyName) 
    {
        this.fileCompanyName = fileCompanyName;
    }

    public String getFileCompanyName() 
    {
        return fileCompanyName;
    }
    public void setFileMonth(String fileMonth) 
    {
        this.fileMonth = fileMonth;
    }

    public String getFileMonth() 
    {
        return fileMonth;
    }
    public void setRightNum(Long rightNum) 
    {
        this.rightNum = rightNum;
    }

    public Long getRightNum() 
    {
        return rightNum;
    }
    public void setErrorNum(Long errorNum) 
    {
        this.errorNum = errorNum;
    }

    public Long getErrorNum() 
    {
        return errorNum;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("companyId", getCompanyId())
            .append("fileCompanyName", getFileCompanyName())
            .append("fileMonth", getFileMonth())
            .append("rightNum", getRightNum())
            .append("errorNum", getErrorNum())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
